package com.prd.workflow;


import com.prd.constant.OaWorkflowConstant;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.flowable.task.service.delegate.DelegateTask;
import org.flowable.task.service.delegate.TaskListener;

/**
 * @Author lizhaoyi
 * @date 2024/1/6 9:38
 * Description:
 */
@Slf4j
public class OaOfferLetterListener implements TaskListener {

    @Override
    public void notify(DelegateTask delegateTask) {

        log.info("添加录用通知书监听器触发："+delegateTask.getName());

        if (StringUtils.equals(OaWorkflowConstant.WORKFLOW_NAME,delegateTask.getName())) {

        }

    }
}
